package com.dk.service.impl;

import com.dk.mapper.TbProvincesMapper;
import com.dk.pojo.TbProvinces;
import com.dk.service.TbProvincesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TbProvincesServiceImpl implements TbProvincesService {

    @Autowired
    private TbProvincesMapper provincesMapper;

    @Override
    public List<TbProvinces> getProvinceList() {
        return provincesMapper.selectList(null);
    }
}
